 

#if !defined changeheadfile 
#define changeheadfile 




int change(int cin,int*freq,int*plc); 

int change(int cin,int*freq,int*plc) 
{ 
int i=1; 
switch(cin) 
{ 
case 'Z': 
case 'z':*freq=262;*plc=0;break; 
case 'X': 
case 'x':*freq=294;*plc=1;break; 
case 'C': 
case 'c':*freq=330;*plc=2;break; 
case 'V': 
case 'v':*freq=349;*plc=3;break; 
case 'B': 
case 'b':*freq=392;*plc=4;break; 
case 'N': 
case 'n':*freq=440;*plc=5;break; 
case 'M': 
case 'm':*freq=494;*plc=6;break; 
case '<': 
case ',':*freq=523;*plc=7;break; 
case '>': 
case '.':*freq=587;*plc=8;break; 
case '?': 
case '/':*freq=659;*plc=9;break; 
case 'A': 
case 'a':*freq=523;*plc=10;break; 
case 'S': 
case 's':*freq=587;*plc=11;break; 
case 'D': 
case 'd':*freq=659;*plc=12;break; 
case 'F': 
case 'f':*freq=698;*plc=13;break; 
case 'G': 
case 'g':*freq=784;*plc=14;break; 
case 'H': 
case 'h':*freq=880;*plc=15;break; 
case 'J': 
case 'j':*freq=988;*plc=16;break; 
case 'K': 
case 'k':*freq=1047;*plc=17;break; 
case 'L': 
case 'l':*freq=1175;*plc=18;break; 
case ':': 
case '\;':*freq=1319;*plc=19;break; 
case '\"': 
case '\'':*freq=1397;*plc=30;break; 
case 'Q': 
case 'q':*freq=1047;*plc=20;break; 
case 'W': 
case 'w':*freq=1175;*plc=21;break; 
case 'E': 
case 'e':*freq=1319;*plc=22;break; 
case 'R': 
case 'r':*freq=1397;*plc=23;break; 
case 'T': 
case 't':*freq=1568;*plc=24;break; 
case 'Y': 
case 'y':*freq=1765;*plc=25;break; 
case 'U': 
case 'u':*freq=1976;*plc=26;break; 
case 'I': 
case 'i':*freq=2100;*plc=27;break; 
case 'O': 
case 'o':*freq=2380;*plc=28;break; 
case 'P': 
case 'p':*freq=2650;*plc=29;break; 
case '{': 
case '[':*freq=2876;*plc=31;break; 
case '}': 
case ']':*freq=3100;*plc=32;break; 
default:i=0;*plc=-1;break; 
} 
return i; 
} 

#endif 
/*end of change.h*/ 